﻿namespace LS.Nc6.Core.Entity.System
{
    /// <summary>
    /// 用户角色表
    /// </summary>
    [SugarTable("sys_userrole", TableDescription = "用户角色表")]
    public class SysUserRoleEntity:EntityBase
    {
        /// <summary>
        /// 用户ID
        /// </summary>
        public long UserId { get; set; }
        /// <summary>
        /// 角色代码
        /// </summary>
        public string RoleCode { get; set; }

        /// <summary>
        /// 角色名称
        /// </summary>
        [SugarColumn(IsIgnore = true)]
        public string RoleName { get; set; }
    }
}
